package com.ssau.expert.gui.app;

import com.ssau.expert.app.DatabaseAPI;
import com.ssau.expert.app.ExpertAPI;
import com.ssau.expert.core.impl.ExpertSystem;

/**
 * Author: Sergey42
 * Date: 09.10.13 22:47
 */
public class Locator {

    public static ExpertAPI getExpert() {
        return ExpertSystem.get();
    }

    public static DatabaseAPI getDatabase() {
        return ExpertSystem.get().getDatabase();
    }
}
